package com.xinqi.common.rocketmq.dto;

import lombok.Data;

@Data
public class MqMessageDTO {

    /**
     * 消息唯一键值
     */
    private String messageKey;

    /**
     * 消息标志
     */
    private String messageTag;

    /**
     * 消息内容
     */
    private String messageBody;

    public MqMessageDTO() {

    }

    public MqMessageDTO(String messageTag, String messageBody) {
        this.messageTag = messageTag;
        this.messageBody = messageBody;
    }
}
